package com.suncaper.han_yi_system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.suncaper.han_yi_system.pojo.entity.Batch;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BatchMapper extends BaseMapper<Batch> {

    Batch findMyBatch (Long userId);

    int saveClothingStyle(@Param("batchId") Long batchId,@Param("ids") List<Long> ids);

    int deleteClothingStyle(Long batchId,@Param("ids") List<Long> ids);


}